<html>
  <head>
    <link type="text/css" rel="stylesheet" href="/static/stylesheets/main.css" />
  </head>
  <body>
  {{header}}

  <b>Create a Category:</b>
  <form action="/category?do=create" method="post">
  <table>
  <tr>
    <td>Name</td>
    <td><input type="text" name="name" size="50"></td>
  </tr>
  <tr>
    <td>Description</td>
    <td><input type="text" name="description" size="50"></td>
  </tr>
  </table>
  <input type="submit" value="Add">
  </form>

  <br />
  <b>Categories:</b><br />
  <table border="0">
  {% for cat in categories %}
  <tr>
    <td height="25">
        <form action="/category?do=delete" method="post">
          <input type="hidden" name="key" value="{{cat.key}}">
          {{cat.name}} ({{cat.description}}) <input type="submit" value="Delete" class="hint">
        </form>
    </td>
  </tr>
  {% endfor %}
  </table>


  {{footer}}
  </body>
</html>
